<?php defined('SYSPATH') or die('No direct script access.');
/**
 * Created by index.php
 * Date: 30.11.13
 * User: Lesh
 */

?>
<?= $content;?>
<div class="clear"></div>
<div id="upload">
	<?php if (count($errors)):?>
		<?= View::factory('site/error', array('errors' => $errors));?>
	<?php endif;?>
	<?= Form::open('', array('enctype' => 'multipart/form-data')).PHP_EOL;?>
		<?= Form::file('name', array('id'=>'picture', 'accept'=> 'image/*'));?><br/>
		<?= Form::textarea('description', '', array('id'=>'description'));?><br/>
		<?= Form::submit('submit', __('Download'), array('id' => 'submit')).PHP_EOL;?>
	<?= Form::close().PHP_EOL;?>
</div>
<div id="overlay"></div>